package com.lh.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lh.api.dao.AppVersionMapper;
import com.lh.api.service.AppVersionService;
import com.lh.common.entity.admin.AppVersion;
import com.lh.common.enums.AppTypeEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class AppVersionServiceImpl extends ServiceImpl<AppVersionMapper, AppVersion> implements AppVersionService {

	@Override
	public AppVersion getNewAppVersion(String appType, Integer versionCode) {
		return this.baseMapper.getNewAppVersion(appType, versionCode);
	}
}
